<script>on mouseUpGo to cd "SetUp"global CurrentCardput "SetUp" into currentCardend mouseUp</script>
</part>
<part>
<id>6</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>432</left>
<top>208</top>
<right>505</right>
<bottom>227</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Palatino</font>
<textSize>12</textSize>
<textStyle>bold</textStyle>
<name>Librarian</name>
<script>on mouseUpGo to cd "Librarian"global CurrentCardput "Librarian" into currentCardend mouseUp</script>
</part>
<part>
<id>5</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>432</left>
<top>229</top>
<right>505</right>
<bottom>248</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Palatino</font>
<textSize>12</textSize>
<textStyle>bold</textStyle>
<name>Edit Map</name>
<script>on mouseUpglobal CurrentCardgo to card "Map Editor"put "Map Editor" into CurrentCardend MouseUp</script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>432</left>
<top>250</top>
<right>505</right>
<bottom>269</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <true /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Palatino</font>
<textSize>12</textSize>
<textStyle>bold</textStyle>
<name>Edit Patch</name>
<script>on mouseUpglobal CurrentCardput "Patch Editor" into CurrentCardGo to cd "Patch Editor"end mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>432</left>
<top>272</top>
<right>505</right>
<bottom>292</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Palatino</font>
<textSize>12</textSize>
<textStyle>bold</textStyle>
<name>Edit Timbre</name>
<script>on mouseUpGo to cd "Edit Timbre"global CurrentCardput "Edit Timbre" into CurrentCardend mouseUp</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>433</left>
<top>294</top>
<right>506</right>
<bottom>313</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Palatino</font>
<textSize>12</textSize>
<textStyle>bold</textStyle>
<name>Edit Rhythm</name>
<script>on mouseUpGo to cd "edit Rhythm Set"global CurrentCardput "edit Rhythm Set" into CurrentCardend mouseUp</script>
</part>
<part>
<id>8</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>433</left>
<top>315</top>
<right>506</right>
<bottom>334</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Palatino</font>
<textSize>12</textSize>
<textStyle>bold</textStyle>
<name>Edit Part</name>
<script>on mouseUpglobal CurrentCardgo to card "Part Editor"put "Part Editor" into CurrentCardend MouseUp</script>
</part>
<part>
<id>9</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>394</left>
<top>25</top>
<right>507</right>
<bottom>76</bottom>
</rect>
<style>rectangle</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Palatino</font>
<textSize>12</textSize>
<textStyle>outline</textStyle>
<textHeight>16</textHeight>
<name>Title</name>
<script></script>
</part>
<part>
<id>11</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>391</left>
<top>275</top>
<right>427</right>
<bottom>287</bottom>
</rect>
<style>checkbox</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<name>Cho</name>
<script>on mouseUpglobal deviceif hilite of me is true thenset Hilite of me to falseput "240 65"&& device-1 &&"43 18 16 0 0 0 " into thePatchput hmConvert("checksum",word 6 to 9 of thePatch,"-") && 247¬after thePatchhmWriteMIDI thePatchput stuffbits("1",cd fld "SetUp Data" of cd "setUp","13","1","0") into¬word 1 of cd fld "SetUp Data" of cd "setUp"elseset Hilite of me to trueput "240 65"&& device-1 &&"43 18 16 0 0 1 " into thePatchput hmConvert("checksum",word 6 to 9 of thePatch,"-") && 247¬after thePatchhmWriteMIDI thePatchput stuffbits("1",cd fld "SetUp Data" of cd "setUp","13","1","1") into¬word 1 of cd fld "SetUp Data" of cd "setUp"end ifend mouseUp</script>
</part>
<part>
<id>12</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>391</left>
<top>290</top>
<right>429</right>
<bottom>304</bottom>
</rect>
<style>checkbox</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<name>Rev</name>
<script>on mouseUpglobal deviceif hilite of me is true thenset Hilite of me to falseput "240 65"&& device-1 &&"43 18 16 0 1 0 " into thePatchput hmConvert("checksum",word 6 to 9 of thePatch,"-") && 247¬after thePatchhmWriteMIDI thePatchput stuffbits("1",cd fld "SetUp Data" of cd "setUp","12","1","0") into¬word 1 of cd fld "SetUp Data" of cd "setUp"elseset Hilite of me to trueput "240 65"&& device-1 &&"43 18 16 0 1 1 " into thePatchput hmConvert("checksum",word 6 to 9 of thePatch,"-") && 247¬after thePatchhmWriteMIDI thePatchput stuffbits("1",cd fld "SetUp Data" of cd "setUp","12","1","1") into¬word 1 of cd fld "SetUp Data" of cd "setUp"end ifend mouseUp</script>
</part>
<part>
<id>27</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>394</left>
<top>308</top>
<right>426</right>
<bottom>341</bottom>
</rect>
<style>transparent</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>30171</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>PLay tune</name>
<script>on MouseUpGlobal Playingif Playing is false thenset hilite of me to trueset icon of me to "Stop Tune"DoPlayput true into playingelseset hilite of me to falseget hmUtility("KillOutput",2)set icon of me to "Play Tune"put false into playingend ifend MouseUp</script>
</part>
<part>
<id>51</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>391</left>
<top>238</top>
<right>427</right>
<bottom>273</bottom>
</rect>
<style>transparent</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>32462</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>New Button</name>
<script>on mouseUpshow cd fld "Help"end mouseUp</script>
</part>
<part>
<id>57</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <true /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>110</left>
<top>15</top>
<right>318</right>
<bottom>319</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>Patch Names</name>
<script></script>
</part>
<part>
<id>58</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <true /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>394</left>
<top>3</top>
<right>507</right>
<bottom>75</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>Rhythm Setup Names</name>
<script></script>
</part>
<part>
<id>60</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <true /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <true /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>33</left>
<top>12</top>
<right>125</right>
<bottom>291</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name>Timbre Names</name>
<script></script>
</part>
<part>
<id>61</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <true /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>180</left>
<top>15</top>
<right>380</right>
<bottom>318</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>init drum sounds</name>
<script>function clicklinereturn trunc(((scroll of me + textheight of me) + (item 2 of ¬the clickloc) - (item 2 of rect of me)) div textheight of me)end clicklineon mouseUpglobal noteMap1Get clickline()put line it of me¬into cd fld "inst name"put it into line 2 of cd fld "inst"put word it + 35 of noteMap1 into cd fld "inst"hide meend mouseup</script>
</part>
<content>
<layer>background</layer>
<id>58</id>
<text>Standard SetDry SetElectric SetF.X. Set </text>
<text>Bass Drum 1Bass Drum 2Rim ShotSnare Drum 1Hand ClapSnare Drum 2Low Tom Tom 1Closed High Hat 1Low Tom Tom 2Open High Hat 2Middle Tom Tom 1Open High Hat 1Middle Tom Tom 2High Tom Tom 1Crash CymbalHigh Tom Tom 2Ride CymbalChina CymbalCup (mute)TamborineSplash CymbalCowBellCrash CymbalSnare Drum 3Ride CymbalBongo -HBongo- LConga (Mute)Conga -HConga -LTimbale -HTimbale -LAgogo -HAgogo -LCabasaMaracasShort WhistleLong WhistleVibra- SlapBell TreeClavesGuiro 2Guiro 1CastenetsHi Pitch Tom 2TriangleHi Pitch Tom 1Wood BlockJingle BellBass Drum 3Bass Drum 4Snare Drum 4Snare Drum 5Snare Drum 6Low Tom Tom 3Closed High Hat 2Mid Tom Tom 3China CymbalHi Tom Tom 3Ride CymbalNative Drum 1Native Drum 2Native Drum 3------------</text>
</content>
<name></name>
<script>on openCardget the number of this cardput it into whichrepeat with x = 1 to 7if x = which thenset hilite of bg btn x to trueelse set hilite of bg btn x to falseend repeatend openCardfunction clicklinereturn trunc(((scroll of target + textheight of target) + (item 2 of ¬the clickloc) - (item 2 of rect of target)) div textheight of target)end clicklineon waitfordump-- wait for dump to stopget 0put -1 into countrepeat until it = countput it into countwait 15 -- if nothing happens in this many ticks, we're doneget hmUtility("getInputCount",1)end repeatend waitfordumpfunction center theRectreturn item 2 of theRect + ((item 4 of theRect - item 2 of theRect) div 2)end centeron Idleglobal playingif playing thenget hmUtility("GetOutPutCount",2)if it = 0 thenPut False into playingset icon of bg btn "Play Tune" to "Play Tune"set hilite of bg btn "Play Tune" to Falseend ifend ifend Idle</script>